package spring;

import org.springframework.context.support.ClassPathXmlApplicationContext;

public class SpringAOPDemo {
	public static void main(String[] args) {
		ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(
				"spring/applicationContext.xml");
		IHello helloProxy = (IHello) context.getBean("helloProxy");
		helloProxy.hello("zhangsan");
	}
}
